package com.prs.crm.service.hr;

import java.util.Collection;
import java.util.List;

import com.prs.crm.domain.hr.Payroll;
import com.prs.crm.domain.hr.PayrollBill;
import com.prs.crm.domain.hr.Person;
import com.prs.crm.service.BaseService;

public interface PayrollBillService extends BaseService<PayrollBill>{
	Collection<Integer> findPersonIds(Payroll payroll);
	List<PayrollBill> getCurrentPayrollBill(Person person,Payroll payroll);
	String getPersonPayrollState(Payroll payroll,Person person);
	List<PayrollBill> getIncreaseItem(Payroll payroll);
	List<PayrollBill> getReduceItem(Payroll payroll);
	List<PayrollBill> getIncreaseItem(Payroll payroll,Person person);
	List<PayrollBill> getReduceItem(Payroll payroll,Person person);
	Collection<PayrollBill> getAllPayrollBill();
	Collection<PayrollBill> getPayrollBillByPayroll(Payroll payroll);
	
	Collection<?> getReportDataSource(Collection<Person> persons, Payroll payroll);
	Collection<?> findAllPayrollBill(Collection<Person> persons, Payroll payroll);
	String export(Collection<PayrollBill> dataList, List<Person> payrollPersons, int type, String title);
	Collection<Integer> getPayrollIdsByPerson(Person person); 
}
